Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aviary support #5661

Merged
merged 4 commits into from
Jun 5, 2023
Merged

Conversation

waleedkadous
Copy link
Contributor

Aviary is an open source toolkit for evaluating and deploying open source LLMs. You can find out more about it on [http://github.com/ray-project/aviary). You can try it out at http://aviary.anyscale.com.

This code adds support for Aviary in LangChain. To minimize dependencies, it connects directly to the HTTP endpoint.

The current implementation is not accelerated and uses the default implementation of predict and generate.

It includes a test and a simple example.

@hwchase17 and @agola11 could you have a look at this?

Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks pretty reasonable to me!

@dev2049 dev2049 added 03 enhancement Enhancement of existing functionality llms labels Jun 4, 2023
@waleedkadous
Copy link
Contributor Author

@dev2049 Your improvements look good to me. Merging is fine whenever you are ready. Let me know if I can do anything further or you'd like me to change anything.

@hwchase17 hwchase17 merged commit 5124c1e into langchain-ai:master Jun 5, 2023
Undertone0809 pushed a commit to Undertone0809/langchain that referenced this pull request Jun 19, 2023
Aviary is an open source toolkit for evaluating and deploying open
source LLMs. You can find out more about it on
[http://github.com/ray-project/aviary). You can try it out at
[http://aviary.anyscale.com](aviary.anyscale.com).

This code adds support for Aviary in LangChain. To minimize
dependencies, it connects directly to the HTTP endpoint.

The current implementation is not accelerated and uses the default
implementation of `predict` and `generate`.

It includes a test and a simple example. 

@hwchase17 and @agola11 could you have a look at this?

---------

Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
This was referenced Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
03 enhancement Enhancement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants